/**
 * src/app.config.ts
 * ------------------------------------
 * 应用全局配置文件
 * 1. pages：定义所有页面路由
 * 2. window：全局窗口配置（标题、背景色等）
 * 3. tabBar：底部导航栏配置（菜单、购物车、订单、我的）
 * 4. 页面配置：每个页面的独立配置
 * 5. 网络请求配置：request合法域名等
 * Taro 框架的全局配置文件，影响整个应用的行为
 * 创建日期：2025-08-06
 */
export default {
  pages: [
    'pages/index/index',
    'pages/guest/menu/index',
    'pages/guest/cart/index',
    'pages/guest/orders/index',
    'pages/guest/profile/index',
    'pages/chef/dashboard/index',
    'pages/chef/dishes/index',
    'pages/chef/dishes/edit/index',
    'pages/chef/orders/index',
    'pages/chef/points/index',
    'pages/cart/index',
    'pages/orders/index',
    'pages/user/index',
    'pages/dish/detail',
    'pages/orders/detail',
    'pages/points/history',
    'pages/points/rules',
    'pages/points/forecast',
    'pages/settings/index',
    'pages/identity/selection/index',
    'pages/identity/unlocked/index',
    'pages/identity/upcoming/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '家庭点餐系统',
    navigationBarTextStyle: 'black'
  },

  functionalPages: false,
  cloud: true
}
